package com.mhg.execise_json.model;

/**
 * 远程调用返回的数据模型
 */
public class RemoteModel {
    /**
     * 错误码
     * 0 - 表示成功
     */
    private Integer errcode;
    /**
     * 纬度
     */
    private String lat;
    /**
     * 经度
     */
    private String lon;
    /**
     * 精度半径
     */
    private String radius;
    /**
     * 地址
     */
    private String address;

    public Integer getErrcode() {
        return errcode;
    }

    public void setErrcode(Integer errcode) {
        this.errcode = errcode;
    }

    public String getLat() {
        return lat;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }

    public String getLon() {
        return lon;
    }

    public void setLon(String lon) {
        this.lon = lon;
    }

    public String getRadius() {
        return radius;
    }

    public void setRadius(String radius) {
        this.radius = radius;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return "RemoteModel{" +
                "errcode=" + errcode +
                ", lat='" + lat + '\'' +
                ", lon='" + lon + '\'' +
                ", radius='" + radius + '\'' +
                ", address='" + address + '\'' +
                '}';
    }
}
